﻿@using Microsoft.AspNetCore.Authentication;
@{
  ViewData["Title"] = "Contact";
}
<h2>@ViewData["Title"]</h2>
<h3>@ViewData["Message"]</h3>

<dl>
  @foreach (var claim in User.Claims)
  {
    <dt>@claim.Type</dt>
    <dd>@claim.Value</dd>

  }
  <dt>access token</dt>
  <dd>@await ViewContext.HttpContext.GetTokenAsync("access_token")</dd>

  <dt>refresh token</dt>
  <dd>@await ViewContext.HttpContext.GetTokenAsync("refresh_token")</dd>
</dl>
<address>
  <strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.com</a><br />
  <strong>Marketing:</strong> <a href="mailto:Marketing@example.com">Marketing@example.com</a>
</address>
